<?php

/*
 * 测试工厂模式
 */

namespace App\Controller;

use App\DesignPattern\Factory\OrmFactory;


class ControllerFactory {
	
	public function actionIndex(){
		$orm = OrmFactory::createOrm();
		$rows = $orm->table('user')->select();
		var_dump($rows);
	}
}
